<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::DGRRouteManager Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d1/da9/classns3_1_1_d_g_r_route_manager.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="../../d8/dd3/classns3_1_1_d_g_r_route_manager-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::DGRRouteManager Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A global global router.  
 <a href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../dc/dd8/dgr-route-manager_8h_source.html">dgr-route-manager.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a87bf2995a6dcd48692147452fea88d40"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a87bf2995a6dcd48692147452fea88d40">AllocateRouterId</a> ()</td></tr>
<tr class="memdesc:a87bf2995a6dcd48692147452fea88d40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a 32-bit router ID from monotonically increasing counter.  <br /></td></tr>
<tr class="separator:a87bf2995a6dcd48692147452fea88d40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62b76ca8cab68a61efd72c5fe5d092dc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a62b76ca8cab68a61efd72c5fe5d092dc">BuildDGRRoutingDatabase</a> ()</td></tr>
<tr class="memdesc:a62b76ca8cab68a61efd72c5fe5d092dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build the routing database by gathering Link State Advertisements from each node exporting a <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html" title="An interface aggregated to a node to provide global routing info.">DGRRouter</a> interface.  <br /></td></tr>
<tr class="separator:a62b76ca8cab68a61efd72c5fe5d092dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acea317a83af55525aa4453f33839db3a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#acea317a83af55525aa4453f33839db3a">DeleteDGRRoutes</a> ()</td></tr>
<tr class="memdesc:acea317a83af55525aa4453f33839db3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all static routes on all nodes that have a DGRRouterInterface.  <br /></td></tr>
<tr class="separator:acea317a83af55525aa4453f33839db3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad637a566676faf22176f66f1afdb8c3c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ad637a566676faf22176f66f1afdb8c3c">InitializeRoutes</a> ()</td></tr>
<tr class="memdesc:ad637a566676faf22176f66f1afdb8c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute routes using a Dijkstra SPF computation and populate per-node forwarding tables.  <br /></td></tr>
<tr class="separator:ad637a566676faf22176f66f1afdb8c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ab0c2ea34c378e91e6dce16c51fc005f1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#ab0c2ea34c378e91e6dce16c51fc005f1">DGRRouteManager</a> (<a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a> &amp;srm)</td></tr>
<tr class="memdesc:ab0c2ea34c378e91e6dce16c51fc005f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global Route Manager copy construction is disallowed.  <br /></td></tr>
<tr class="separator:ab0c2ea34c378e91e6dce16c51fc005f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11c434011ef28a8a8cfb504fda0a50a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a11c434011ef28a8a8cfb504fda0a50a3">operator=</a> (<a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a> &amp;srm)</td></tr>
<tr class="memdesc:a11c434011ef28a8a8cfb504fda0a50a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global Router copy assignment operator is disallowed.  <br /></td></tr>
<tr class="separator:a11c434011ef28a8a8cfb504fda0a50a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A global global router. </p>
<p>This singleton object can query interface each node in the system for a <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html" title="An interface aggregated to a node to provide global routing info.">DGRRouter</a> interface. For those nodes, it fetches one or more Link State Advertisements and stores them in a local database. Then, it can compute shortest paths on a per-node basis to all routers, and finally configure each of the node's forwarding tables.</p>
<p>The design is guided by OSPFv2 \RFC{2328} section 16.1.1 and quagga ospfd. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/dd8/dgr-route-manager_8h_source.html#l00040">40</a> of file <a class="el" href="../../dc/dd8/dgr-route-manager_8h_source.html">dgr-route-manager.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab0c2ea34c378e91e6dce16c51fc005f1" name="ab0c2ea34c378e91e6dce16c51fc005f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0c2ea34c378e91e6dce16c51fc005f1">&#9670;&#160;</a></span>DGRRouteManager()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DGRRouteManager::DGRRouteManager </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a> &amp;&#160;</td>
          <td class="paramname"><em>srm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Global Route Manager copy construction is disallowed. </p>
<p>There's no need for it and a compiler provided shallow copy would be wrong.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">srm</td><td>object to copy from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a87bf2995a6dcd48692147452fea88d40" name="a87bf2995a6dcd48692147452fea88d40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87bf2995a6dcd48692147452fea88d40">&#9670;&#160;</a></span>AllocateRouterId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRRouteManager::AllocateRouterId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allocate a 32-bit router ID from monotonically increasing counter. </p>
<dl class="section return"><dt>Returns</dt><dd>A new new RouterId. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00062">62</a> of file <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html">dgr-route-manager.cc</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00519">ns3::DGRRouter::DGRRouter()</a>.</p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_a87bf2995a6dcd48692147452fea88d40_icgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_a87bf2995a6dcd48692147452fea88d40_icgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_a87bf2995a6dcd48692147452fea88d40_icgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_a87bf2995a6dcd48692147452fea88d40_icgraph">
<area shape="rect" title="Allocate a 32&#45;bit router ID from monotonically increasing counter." alt="" coords="259,5,436,45"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a0bd2dfa51885b1dc89d7dfcb88435803" title="Create a Global Router class." alt="" coords="5,13,211,38"/>
<area shape="poly" title=" " alt="" coords="245,28,211,28,211,23,245,23"/>
</map>
</div>

</div>
</div>
<a id="a62b76ca8cab68a61efd72c5fe5d092dc" name="a62b76ca8cab68a61efd72c5fe5d092dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62b76ca8cab68a61efd72c5fe5d092dc">&#9670;&#160;</a></span>BuildDGRRoutingDatabase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouteManager::BuildDGRRoutingDatabase </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Build the routing database by gathering Link State Advertisements from each node exporting a <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html" title="An interface aggregated to a node to provide global routing info.">DGRRouter</a> interface. </p>

<p class="definition">Definition at line <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00046">46</a> of file <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html">dgr-route-manager.cc</a>.</p>

<p class="reference">References <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00046">BuildDGRRoutingDatabase()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00046">BuildDGRRoutingDatabase()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01255">ns3::Ipv4DGRRouting::NotifyAddAddress()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01243">ns3::Ipv4DGRRouting::NotifyInterfaceDown()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01231">ns3::Ipv4DGRRouting::NotifyInterfaceUp()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01267">ns3::Ipv4DGRRouting::NotifyRemoveAddress()</a>, <a class="el" href="../../d6/d78/ipv4-dgr-routing-helper_8cc_source.html#l00064">ns3::Ipv4DGRRoutingHelper::PopulateRoutingTables()</a>, and <a class="el" href="../../d6/d78/ipv4-dgr-routing-helper_8cc_source.html#l00070">ns3::Ipv4DGRRoutingHelper::RecomputeRoutingTables()</a>.</p>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_cgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_cgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_cgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_cgraph">
<area shape="rect" title="Build the routing database by gathering Link State Advertisements from each node exporting a DGRRoute..." alt="" coords="5,29,209,69"/>
<area shape="poly" title=" " alt="" coords="69,30,67,20,73,11,87,5,107,3,131,6,144,13,141,18,129,11,107,8,88,10,76,15,72,21,74,28"/>
</map>
</div>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_icgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_icgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_icgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_a62b76ca8cab68a61efd72c5fe5d092dc_icgraph">
<area shape="rect" title="Build the routing database by gathering Link State Advertisements from each node exporting a DGRRoute..." alt="" coords="256,165,460,205"/>
<area shape="poly" title=" " alt="" coords="401,154,386,147,358,144,334,146,319,151,314,157,316,164,311,166,309,156,316,146,333,141,358,139,387,142,403,149"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9cdc7d3663a11b90bec029c7a3e6cba2" title=" " alt="" coords="27,5,187,45"/>
<area shape="poly" title=" " alt="" coords="327,157,274,107,241,82,207,60,181,48,184,43,209,55,244,78,277,103,331,153"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a5fabc015fa802a4c056cf14359ea898e" title=" " alt="" coords="25,69,189,109"/>
<area shape="poly" title=" " alt="" coords="300,162,207,124,173,112,175,107,209,119,302,157"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9715cb5895be31d03b1ffe15212fec57" title=" " alt="" coords="27,133,187,173"/>
<area shape="poly" title=" " alt="" coords="242,173,186,166,187,161,243,168"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a45022db22ac734cfdde51a3a8bc0ecf1" title=" " alt="" coords="19,197,194,237"/>
<area shape="poly" title=" " alt="" coords="243,203,195,209,194,204,242,197"/>
<area shape="rect" href="../../d8/d5a/classns3_1_1_ipv4_d_g_r_routing_helper.html#a67901bf47957ab420b596cdb38a38882" title="Build a routing database and initialize the routing tables of the nodes in the simulation." alt="" coords="5,261,208,301"/>
<area shape="poly" title=" " alt="" coords="302,213,209,252,175,264,173,259,207,247,300,208"/>
<area shape="rect" href="../../d8/d5a/classns3_1_1_ipv4_d_g_r_routing_helper.html#a464e8a06ce6c45304ed596bbeecb815f" title="Remove all routes that were previously installed in a prior call to either PopulateRoutingTables() or..." alt="" coords="5,325,208,365"/>
<area shape="poly" title=" " alt="" coords="331,217,277,267,244,293,209,316,184,328,181,323,207,311,241,289,274,263,327,213"/>
</map>
</div>

</div>
</div>
<a id="acea317a83af55525aa4453f33839db3a" name="acea317a83af55525aa4453f33839db3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acea317a83af55525aa4453f33839db3a">&#9670;&#160;</a></span>DeleteDGRRoutes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouteManager::DeleteDGRRoutes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Delete all static routes on all nodes that have a DGRRouterInterface. </p>

<p class="definition">Definition at line <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00038">38</a> of file <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html">dgr-route-manager.cc</a>.</p>

<p class="reference">References <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00038">DeleteDGRRoutes()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00038">DeleteDGRRoutes()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01255">ns3::Ipv4DGRRouting::NotifyAddAddress()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01243">ns3::Ipv4DGRRouting::NotifyInterfaceDown()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01231">ns3::Ipv4DGRRouting::NotifyInterfaceUp()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01267">ns3::Ipv4DGRRouting::NotifyRemoveAddress()</a>, and <a class="el" href="../../d6/d78/ipv4-dgr-routing-helper_8cc_source.html#l00070">ns3::Ipv4DGRRoutingHelper::RecomputeRoutingTables()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_cgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_cgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_cgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_cgraph">
<area shape="rect" title="Delete all static routes on all nodes that have a DGRRouterInterface." alt="" coords="5,29,183,69"/>
<area shape="poly" title=" " alt="" coords="60,30,58,20,64,11,76,5,94,3,115,6,126,13,123,17,113,11,94,8,77,10,67,15,64,21,66,28"/>
</map>
</div>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_icgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_icgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_icgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_acea317a83af55525aa4453f33839db3a_icgraph">
<area shape="rect" title="Delete all static routes on all nodes that have a DGRRouterInterface." alt="" coords="256,133,433,173"/>
<area shape="poly" title=" " alt="" coords="385,122,371,115,345,112,322,114,308,119,303,125,306,132,300,134,298,124,305,114,321,109,345,107,372,110,387,117"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9cdc7d3663a11b90bec029c7a3e6cba2" title=" " alt="" coords="27,5,187,45"/>
<area shape="poly" title=" " alt="" coords="308,127,261,92,207,60,179,48,181,43,209,55,264,88,311,123"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a5fabc015fa802a4c056cf14359ea898e" title=" " alt="" coords="25,69,189,109"/>
<area shape="poly" title=" " alt="" coords="256,132,181,112,182,107,257,127"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9715cb5895be31d03b1ffe15212fec57" title=" " alt="" coords="27,133,187,173"/>
<area shape="poly" title=" " alt="" coords="242,156,187,156,187,151,242,151"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a45022db22ac734cfdde51a3a8bc0ecf1" title=" " alt="" coords="19,197,194,237"/>
<area shape="poly" title=" " alt="" coords="257,180,182,200,181,195,256,174"/>
<area shape="rect" href="../../d8/d5a/classns3_1_1_ipv4_d_g_r_routing_helper.html#a464e8a06ce6c45304ed596bbeecb815f" title="Remove all routes that were previously installed in a prior call to either PopulateRoutingTables() or..." alt="" coords="5,261,208,301"/>
<area shape="poly" title=" " alt="" coords="311,184,264,219,209,252,181,264,179,259,207,247,261,214,308,180"/>
</map>
</div>

</div>
</div>
<a id="ad637a566676faf22176f66f1afdb8c3c" name="ad637a566676faf22176f66f1afdb8c3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad637a566676faf22176f66f1afdb8c3c">&#9670;&#160;</a></span>InitializeRoutes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouteManager::InitializeRoutes </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute routes using a Dijkstra SPF computation and populate per-node forwarding tables. </p>

<p class="definition">Definition at line <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00054">54</a> of file <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html">dgr-route-manager.cc</a>.</p>

<p class="reference">References <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00054">InitializeRoutes()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00054">InitializeRoutes()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01255">ns3::Ipv4DGRRouting::NotifyAddAddress()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01243">ns3::Ipv4DGRRouting::NotifyInterfaceDown()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01231">ns3::Ipv4DGRRouting::NotifyInterfaceUp()</a>, <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01267">ns3::Ipv4DGRRouting::NotifyRemoveAddress()</a>, <a class="el" href="../../d6/d78/ipv4-dgr-routing-helper_8cc_source.html#l00064">ns3::Ipv4DGRRoutingHelper::PopulateRoutingTables()</a>, and <a class="el" href="../../d6/d78/ipv4-dgr-routing-helper_8cc_source.html#l00070">ns3::Ipv4DGRRoutingHelper::RecomputeRoutingTables()</a>.</p>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_cgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_cgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_cgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_cgraph">
<area shape="rect" title="Compute routes using a Dijkstra SPF computation and populate per&#45;node forwarding tables." alt="" coords="5,29,183,69"/>
<area shape="poly" title=" " alt="" coords="60,30,58,20,64,11,76,5,94,3,115,6,126,13,123,17,113,11,94,8,77,10,67,15,64,21,66,28"/>
</map>
</div>
<div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_icgraph.png" border="0" usemap="#ad1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_icgraph" alt=""/></div>
<map name="ad1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_icgraph" id="ad1/da9/classns3_1_1_d_g_r_route_manager_ad637a566676faf22176f66f1afdb8c3c_icgraph">
<area shape="rect" title="Compute routes using a Dijkstra SPF computation and populate per&#45;node forwarding tables." alt="" coords="256,165,433,205"/>
<area shape="poly" title=" " alt="" coords="385,154,371,147,345,144,322,146,308,151,303,157,306,164,300,166,298,156,305,146,321,141,345,139,372,142,387,149"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9cdc7d3663a11b90bec029c7a3e6cba2" title=" " alt="" coords="27,5,187,45"/>
<area shape="poly" title=" " alt="" coords="316,157,268,107,239,82,207,60,182,48,184,43,209,55,242,77,272,103,320,153"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a5fabc015fa802a4c056cf14359ea898e" title=" " alt="" coords="25,69,189,109"/>
<area shape="poly" title=" " alt="" coords="291,162,207,124,174,112,176,107,209,119,293,157"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9715cb5895be31d03b1ffe15212fec57" title=" " alt="" coords="27,133,187,173"/>
<area shape="poly" title=" " alt="" coords="242,174,186,167,187,161,243,169"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a45022db22ac734cfdde51a3a8bc0ecf1" title=" " alt="" coords="19,197,194,237"/>
<area shape="poly" title=" " alt="" coords="243,202,194,208,194,203,242,196"/>
<area shape="rect" href="../../d8/d5a/classns3_1_1_ipv4_d_g_r_routing_helper.html#a67901bf47957ab420b596cdb38a38882" title="Build a routing database and initialize the routing tables of the nodes in the simulation." alt="" coords="5,261,208,301"/>
<area shape="poly" title=" " alt="" coords="293,214,209,252,176,264,174,259,207,247,291,209"/>
<area shape="rect" href="../../d8/d5a/classns3_1_1_ipv4_d_g_r_routing_helper.html#a464e8a06ce6c45304ed596bbeecb815f" title="Remove all routes that were previously installed in a prior call to either PopulateRoutingTables() or..." alt="" coords="5,325,208,365"/>
<area shape="poly" title=" " alt="" coords="320,218,272,268,242,293,209,316,184,328,182,323,207,311,239,289,268,264,316,214"/>
</map>
</div>

</div>
</div>
<a id="a11c434011ef28a8a8cfb504fda0a50a3" name="a11c434011ef28a8a8cfb504fda0a50a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11c434011ef28a8a8cfb504fda0a50a3">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a> &amp; ns3::DGRRouteManager::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a> &amp;&#160;</td>
          <td class="paramname"><em>srm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Global Router copy assignment operator is disallowed. </p>
<p>There's no need for it and a compiler provided shallow copy would be wrong.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">srm</td><td>object to copy from </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the copied object </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../dc/dd8/dgr-route-manager_8h_source.html">dgr-route-manager.h</a></li>
<li>model/<a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html">dgr-route-manager.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html">DGRRouteManager</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
